/**
 * 角色分页列表data类型
 */
export interface UserItemType {
  id: number;
  createTime: string;
  updateTime: string;
  // isDeleted: 0;
  // param: {};
  username: string;
  password: string;
  name: string;
  phone: string;
  roleName: string;
}
export type UserListType = UserItemType[];

export interface UserPagingType {
  records: UserListType;
  total: number;
  size: number;
  current: number;
  // orders: [];
  hitCount: boolean;
  searchCount: boolean;
  pages: number;
}

export interface UserAddInfoType {
  id: number | null;
  name?: string;
  password: string;
  roleName?: string;
  username: string;
}

/**
 * 角色类型
 */

export interface RoleItemType {
  id: number;
  createTime: string;
  updateTime: string;
  roleName: string;
  // remark: null;
}

export type RoleListType = RoleItemType[];

export interface RoleInfoResponseType {
  assignRoles: RoleListType;
  allRolesList: RoleListType;
}
